home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 36
/
Amiga Format CD36 (1999-01-22)(Future Publishing)(GB)[!][issue 1999-02].iso
/
-seriously_amiga-
/
misc
/
megabook
/
storage
/
sendemail
/
spot.mbrx
next >
Wrap
Text File
|
1998-12-12
|
819b
|
39 lines
/*
** Spot EMail sender for MegaBook 3
** By Tom Bampton
**
** © 1996 Eden Software
**
** This is the script run when the Send EMail option is selected from the
** Extras menu, please see the docs for creating your own script to use
** your EMail program.
*/
/*
Path to Spot, it's run if Spot isn't running
Change this to the path of your copy of Spot
*/
SpotPath = 'Dh1:Spot/Spot'
/*
The area name to post the EMail in. Change this to your EMail area.
*/
EMailArea = 'NET_44_44_44_14'
parse arg Address
/* Check if Spot is running, if not, run it */
if ~show('P', 'SPOT') then do
address command
'run >nil: ' SpotPath
/* Wait for the ARexx port */
do 5 while ~show('P', 'SPOT')
'sys:rexxc/waitforport SPOT'
end
end
address 'SPOT'
options results
gotoarea EMailArea
messages
write EMAILADDR Address